package com.example.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.entity.User;
import com.example.springboot.entity.request.BaseRequest;
import com.example.springboot.entity.request.LoginRequest;
import com.example.springboot.entity.request.PasswordRequest;
import com.example.springboot.entity.request.UserPageRequest;
import com.github.pagehelper.PageInfo;

/**
 * @author 程序员小洋
 * @version 2022.3
 * @date 2022/12/8 11:38
 * @title UserService的业务层
 */
public interface UserService extends IService<User> {

    User login(LoginRequest request);

     PageInfo<User> pageInfo(BaseRequest baseRequest);

    void handleAccount(User user);

    void changePass(PasswordRequest request);

    void saveMD5(User user);
}
